package com.zhangzhan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 张一恒
 * @version 1.0
 */
//启动类
@SpringBootApplication
@MapperScan("com.zhangzhan.mapper") //mapper包扫描
@EnableScheduling //开启定时任务
@EnableSwagger2
public class ZhangZhanBlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZhangZhanBlogApplication.class,args);
    }
}
